home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Resources / System / BoingBag1 / Contributions / InstallerNG / GUI-API / example / igui_AskFile.c < prev    next >
C/C++ Source or Header  |  1999-10-28  |  946b  |  48 lines

  1.  
  2. #include "includes.h"
  3. #include "installergui_data.h"
  4.  
  5. /********************************************************************
  6.  *
  7.  *  DESCRIPTION
  8.  *
  9.  *  since ASKFILE and ASKDIR offer nearly the same functionality,
  10.  *  you could implement both in a single function and just use a
  11.  *  flag to distinguish, what exactly is needed!
  12.  *
  13.  */
  14.  
  15. /********************************************************************
  16.  *
  17.  *  STATIC
  18.  *
  19.  */
  20.  
  21. /********************************************************************
  22.  *
  23.  *  EXTERN
  24.  *
  25.  */
  26.  
  27. /********************************************************************
  28.  *
  29.  *  PUBLIC
  30.  *
  31.  */
  32.  
  33. /********************************************************************
  34.  *
  35.  *  CODE
  36.  *
  37.  */
  38.  
  39. char * __asm igui_AskFile(register __a0 APTR application,
  40.                           register __a1 struct FunctionEnvironment *localenv)
  41. {
  42.   #ifdef DEBUG
  43.   DEBUG_MAKRO
  44.   #endif
  45.  
  46.   return (guistuff_AskFile_AskDir(application, localenv, FALSE));
  47. }
  48.